CRPEParameterValueInfo
The CRPEParameterValueInfo structure contains information related to parameter values in a report. This structure is used with the method CRPEJob::GetParameterValueInfo, and CRPEJob ::SetParameterValueInfo, to set specific parameter value information.
Data Members
- Each data member is set by the corresponding constructor parameter.
- The default value for each data member is PEP_UNCHANGED.
m_isNullable
| short
| Specifies whether or not a field is nullable in a report. Set this variable to TRUE if you want a nullable report field, FALSE if you do not, or PEP_UNCHANGED to keep the existing setting.
|
m_disallowEditing
| short
| Specifies whether or not a report field can be edited. Set this variable to TRUE if you want to disallow report field editing, FALSE if you do not, or PEP_UNCHANGED to keep the existing setting.
|
m_allowMultiple Values
| short
| Specifies whether or not a field can have multiple values in a report. Set this variable to TRUE if you want to allow multiple values in a report field, FALSE if you do not, or PEP_UNCHANGED to keep the existing setting.
|
m_hasDiscreteValues
| short
| Specifies whether or not a field has discrete values in a report. Uses one of the following PEP_DR_XXX constants, or PEP_UNCHANGED to keep existing setting.
|
| Constant
|
| PEP_DR_HASRANGE
|
| PEP_DR_HASDISCRETE
|
| PEP_DR_HASDISCRETEANDRANGE
|
m_partOfGroup
| short
| Specifies whether or not the parameter field is a member of a group. Set this variable to TRUE if a report field is part of a group, FALSE if not, or PEP_UNCHANGED to keep the existing setting.
|
m_groupNum
| short
| Specifies the group number or PEP_UNCHANGED to keep the existing group number.
|
m_mutuallyExclusiveGroup
| short
| Specifies whether or not the group assigned to a field in a report is mutually exclusive. This variable does not apply if the m_partOfGroup member variable is set to FALSE. Set this variable to TRUE if it is mutually exclusive, FALSE if it is not, or PEP_UNCHANGED to keep the existing setting.
|
Constructor CRPEParameterValueInfo::CRPEParameterValueInfo
This constructs a CRPEParameterValueInfo structure object. Call the constructor with no parameters to allow the Class Library to initialize all member variables with default values. Pass parameters to the constructor to assign specific values to each member variable.
Constructor Syntax (Default)
CRPEPrameterValueInfo ();
Constructor Syntax
CRPEParameterValueInfo (
short isNullable,
short disallowEditing,
short allowMultipleValues,
short hasDiscreteValues,
short partOfGroup,
short groupNum,
short mutuallyExclusiveGroup );